FROM openjdk:8-jre

MAINTAINER Rong.LIN <718147913@qq.com>

RUN mkdir -p /app

COPY ./target/chapter1-1-0.0.1-SNAPSHOT.jar /app/app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app/app.jar", ""]

EXPOSE 8080